<%@page pageEncoding="UTF-8" contentType="text/html; utf-8" isELIgnored="false" %>
<%--导入标签库就能用指令--%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
	<head>
		<title>update Emp</title>
		<meta  charset=UTF-8">
		<link rel="stylesheet" type="text/css" href="css/style.css" />
	</head>

	<body>
		<div id="wrap">
			<div id="top_content">
<%--					header部分--%>
				<%@include file="header.jsp"%>
				<div id="content">
					<p id="whereami">
					</p>
					<h1>
						修改学生信息
					</h1>
					<form action="update.student" method="post">
						<table cellpadding="0" cellspacing="0" border="0"
							class="form_table">
							<tr>
								<td valign="middle" align="right">

								</td>
								<td valign="middle" align="left">
<%--								只要让id不显示，但是还可以传值就行--%>
									<input type="hidden" name="id" value="${student.id}">
								</td>
							</tr>
							<tr>
								<td valign="middle" align="right">
									学号:
								</td>
								<td valign="middle" align="left">
									<input type="text" class="inputgri" name="sno" value="${student.sno}"/>
								</td>
							</tr>
							<tr>
								<td valign="middle" align="right">
									姓名:
								</td>
								<td valign="middle" align="left">
									<input type="text" class="inputgri" name="sname" value="${student.sname}"/>
								</td>
							</tr>
							<tr>
								<td valign="middle" align="right">
									年龄:
								</td>
								<td valign="middle" align="left">
									<input type="text" class="inputgri" name="sage" value="${student.sage}"/>
								</td>
							</tr>
							<tr>
								<td valign="middle" align="right">
									电话:
								</td>
								<td valign="middle" align="left">
									<input type="text" class="inputgri" name="phone" value="${student.phone}"/>								</td>
							</tr>
							<tr>
								<td valign="middle" align="right">
									班级:
								</td>
								<td valign="middle" align="left">
									<input type="text" class="inputgri" name="classid" value="${student.classid}"/>								</td>
							</tr>
						</table>
						<p>
							<input type="submit" class="button" value="修改" />
						</p>
					</form>
				</div>
			</div>
			<%--footer部分--%>
			<%@include file="footer.jsp"%>
		</div>
	</body>
</html>
